﻿
namespace MyFurion.Application.Dtos
{
    /// <summary>
    /// 公告查询条件
    /// </summary>
    public  class NoticeInfoPage:PageBaseInput
    {
        /// <summary>
        /// 标题
        /// </summary>
        public string Title { get; set; }
        /// <summary>
        /// 发布状态 0：否1：是
        /// </summary>
        public int? IsPublish { get; set; }
    }
    /// <summary>
    /// 公告新增信息
    /// </summary>
    public class NoticeInfoAdd
    {
        /// <summary>
        /// 标题
        /// </summary>
        [Required(ErrorMessage ="标题不能为空")]
        public string Title { get; set; }
        /// <summary>
        /// 公告内容
        /// </summary>
        public string NoticeContent { get; set; }
    }
    /// <summary>
    /// 公告修改信息
    /// </summary>
    public class NoticeInfoUpdate : NoticeInfoAdd
    {
        /// <summary>
        /// id
        /// </summary>
        public long Id { get; set; }
    }
}
